package com.powernode.service;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @author syo 2319615164@qq.com
 * @description 登录服务
 * @date 2024/10/3
 * @Copyright syo
 */
public interface LoginService {

    /**
     * 登录
     * @param username  用户名
     * @return          UserDetails
     */
    UserDetails realLogin(String username);
}
